﻿//主要用于库存查询

using System;
using System.Collections.Generic;
using System.Text;
using System.ComponentModel;

namespace CFSystem.JXC.Model
{
    /// <summary>
    /// 库存信息查询
    /// </summary>
    public class StorageInfo
    {
        /// <summary>
        /// 进货批次
        /// </summary>
        private int _batchIn;
        /// <summary>
        /// 库存价格
        /// </summary>
        private decimal _invPrice;   //库存价格
        private int _productID;        //商品编号
        private string _productName; //商品名称
        private decimal _refBuyPrice;     //参考进价
        private decimal _refPrice;           //参考售价
        private int _vendorID;        //供应商编号
        private string _vendorName; //供应商名称
        private int _invQty;              //库存数量
        private string _artNo;           //款号
        private string _sizeID;               //尺码编码
        private DateTime _BuyDate;           //进货日期
        private string _operator;      //操作人
        private decimal _CostSum;   //成本合计
        private decimal _SaleSum;   //售价合计
        /// <summary>
        /// 商品编码
        /// </summary>
        [DisplayName("商品编码")]
        public int ProductID
        {
            get
            {
                return _productID;
            }
            set
            {
                _productID = value;
            }
        }
        [DisplayName("商品名称")]
        public string ProductName
        {
            get
            {
                return _productName;
            }
            set
            {
                _productName = value;
            }
        }
        /// <summary>
        /// 进货批次
        /// </summary>
        [DisplayName("进货批次")]
        public int BatchIn
        {
            get
            {
                 return _batchIn;
            }
            set
            {
                _batchIn = value;
            }
        }

        /// <summary>
        /// 供应商编号
        /// </summary>
        [DisplayName("供应商编号")]
        public int VendorID
        {
            get
            {
                return _vendorID;
            }
            set
            {
                _vendorID = value;
            }
        }

        /// <summary>
        /// 供应商名
        /// </summary>
        [DisplayName("供应商名称")]
        public string VendorName
        {
            get
            {
                 return _vendorName;
            }
            set
            {
                _vendorName = value;
            }
        }

        /// <summary>
        /// 库存价格
        /// </summary>
        [DisplayName("库存价格")]
        public decimal InvPrice
        {
            get
            {
                 return _invPrice;
            }
            set
            {
                _invPrice = value;
            }
        }

        /// <summary>
        /// 参考销售售价格
        /// </summary>
        [DisplayName("参考销售售价")]
        public decimal RefPrice
        {
            get
            {
                return _refPrice;
            }
            set
            {
                _refPrice = value;
            }
        }

        /// <summary>
        /// 参考进货价格
        /// </summary>
        [DisplayName("参考进货价格")]
        public decimal RefBuyPrice
        {
            get
            {
                return _refBuyPrice;
            }
            set
            {
                _refBuyPrice = value;
            }
        }

        /// <summary>
        /// 库存数量
        /// </summary>
        [DisplayName("库存数量")]
        public int InvQty
        {
            get
            {
                return _invQty;
            }
            set
            {
                _invQty = value;
            }
        }

        /// <summary>
        /// 款号
        /// </summary>
        [DisplayName("款号")]
        public string ARTNO
        {
            get
            {
                 return _artNo;
            }
            set
            {
                _artNo = value;
            }
        }

        /// <summary>
        /// 尺码编码
        /// </summary>
        [DisplayName("尺码编码")]
        public string SizeID
        {
            get
            {
                return _sizeID;
            }
            set
            {
                _sizeID = value;
            }
        }

        /// <summary>
        /// 进货日期
        /// </summary>
        [DisplayName("进货日期")]
        public DateTime BuyDate
        {
            get
            {
                return _BuyDate;
            }
            set
            {
                _BuyDate = value;
            }
        }

        /// <summary>
        /// 操作人
        /// </summary>
        [DisplayName("操作人")]
        public string Operator
        {
            get
            {
                return _operator;
            }
            set
            {
                _operator = value;
            }
        }
        /// <summary>
        /// 成本合计
        /// </summary>
        [DisplayName("成本合计")]
        public decimal CostSum
        {
            get
            {
                return _CostSum;
            }
            set
            {
                _CostSum = value;
            }
        }
        /// <summary>
        /// 销售合计
        /// </summary>
        [DisplayName("销售合计")]
        public decimal  SaleSum
        {
            get
            {
                return _SaleSum;
            }
            set
            {
                _SaleSum = value;
            }
        }
    }
}
